package com.bdqn.t382.dao.impl;

import com.bdqn.t382.dao.PetDao;
import com.bdqn.t382.entity.Pet;
import org.springframework.stereotype.Repository;

@Repository("petDaoOracle")
public class PetDaoOracleImpl implements PetDao {
    @Override
    public int insert(Pet pet) {
        System.out.println("将宠物“" + pet.getName() + "”插入到 Oracle 数据库");
        return 1;
    }
}
